import request from '@/service/request'

export interface TagPrintVO {
  id: number // 分类编号
  name: string // 分类名
  code: string // 分类标志
  status: number // 分类状态
  sort: number // 分类排序
}

// 获得打印分页
export const getList = async (params: any) => {
  return await request.get({ url: `/hkb/print/page`, params })
}

// 新增接待
export const addPrint = async (params: any) => {
  return await request.post({ headersType: 'application/json',url: `/hkb/print/create`, data:JSON.stringify(params) })
}

// 编辑接待
export const editPrint = async (params: any) => {
  return await request.put({ headersType: 'application/json',url: `/hkb/print/update`, data:JSON.stringify(params) })
}

// 删除接待
export const deletePrint = async (id: any) => {
  return await request.delete({ url: `/hkb/print/delete?id=` + id })
}
